import request from '@/utils/request'
import { post } from '@/utils/request'

/**
 * 用户登录  /stock/stockOut.action
 * @param {*} data
 * @returns
 */
export function login(data) {
  return post('/xiaoyi/home/login.action', data)
}


/**
 * 登出
 * @param {*} data
 * @returns
 */
export function logout(data) {
  return post(`/xiaoyi/home/logout.action`, data)
}

/**
 * 项目登录
 * @param {*} data
 * @returns
 */
 export function projectlLoginInfo(data) {
  return post('/xiaoyi/customerOne/oneProLogin.action', data)
}
